package com.example.firstthree;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;


public class ScoreActivity extends AppCompatActivity {
    TextView out;
    Button btn1;
    Button btn2;
    Button btn3;
    Button btn4;
    int point=0;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        out=  (TextView) findViewById(R.id.txtout2);
        btn1=findViewById(R.id.btn1);
        btn2=findViewById(R.id.btn2);
        btn3=findViewById(R.id.btn3);
        btn4=findViewById(R.id.btn4);

    }


    public void btn1(View view) {
            out.setText("point+3");
    }
    public void btn2(View view) {
        out.setText("point2");
    }
    public void btn3(View view) {
        out.setText("point+1");
    }
}